<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:c="http://www.w3.org/1999/XSL/Transform">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen"/>
</head>
<body>
    <div th:replace="common/IncludeTop">
    </div>

    <div id="Content">
        <div th:id="Catalog">
            <form action="/adminCatalog/adminfind" method="post">
                <h3>User Information</h3>
                <table>
                    <tr>
                        <td>Item ID</td>
                        <td><input th:type="text" th:name="adminitemid" th:id="adminitemid" th:value="${item.itemId}" readonly><br></td>
                    </tr>
                    <tr>
                        <td>Description</td>
                        <td>
                            <input th:name="admindescription" th:type="text" th:value="${item.attribute1 != null? item.attribute1:''}+${item.attribute2 != null? item.attribute2:''}+
                            ${item.attribute3 != null? item.attribute3:''}+${item.attribute4 != null? item.attribute4:''}+
                            ${item.attribute5 != null? item.attribute5:''}">
                        </td>
                    </tr>
                    <tr>
                        <td>Price</td>
                        <td><input onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g,'$1')"  th:name="adminlistprice" th:type="text" th:value="${item.listPrice}"></td>
                    </tr>
                </table>

                <input th:type="submit" th:value="'Save Item Information'" th:id="submit" >
            </form>
        </div>
    </div>

    <div th:replace="common/IncludeBottom">
    </div>
</div>
</body>
</html>